package com.user.handler;

import org.springframework.security.core.AuthenticationException;
import org.springframework.security.core.userdetails.UserDetails;

public interface LoginHandler {

    UserDetails login(Object principal, Object credentials) throws AuthenticationException;
}
